package com.bobby.shop.vo;

/**
 * @Description TODO
 * @Date 2020/12/30 16:00
 * @Created wenjunpei
 */
public class ArticleVO {
    private Integer articleId;
    private String image;
    private String title;
    private String supplier;
    private Double price;
    private Double discount;
    private Integer buyNum;
    private String onlyOne;

    public String getOnlyOne() {
        return onlyOne;
    }

    public void setOnlyOne(String onlyOne) {
        this.onlyOne = onlyOne;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Integer getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(Integer buyNum) {
        this.buyNum = buyNum;
    }

    public ArticleVO(Integer articleId, String image, String title, String supplier, Double price, Double discount, Integer buyNum) {
        this.articleId = articleId;
        this.image = image;
        this.title = title;
        this.supplier = supplier;
        this.price = price;
        this.discount = discount;
        this.buyNum = buyNum;
    }

    public ArticleVO() {
    }

    @Override
    public String toString() {
        return "ArticleVO{" +
                "articleId=" + articleId +
                ", image='" + image + '\'' +
                ", title='" + title + '\'' +
                ", supplier='" + supplier + '\'' +
                ", price=" + price +
                ", discount=" + discount +
                ", buyNum=" + buyNum +
                '}';
    }
}
